package com.zhangxin.aiInterview.model.vo.response;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class GetCommonInterviewExperienceListResponse {
    /**
     * 面经ID
     */
    private Long id;

    /**
     * 发布用户ID
     */
    private Long userId;

    /**
     * 评论用户名
     */
    private String userName;

    /**
     * 评论用户头像
     */
    private String userAvatar;

    /**
     * 面经标题
     */
    private String title;

    /**
     * 面经内容
     */
    private String content;

    /**
     * 评论数
     */
    private Integer commentCount;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 面经评论列表
     */
    private List<InterviewExperienceComment> comments;

    @Data
    public static class InterviewExperienceComment {
        private String userName;
        private String userAvatar;
        private String content;
        private Date createTime;
    }
}
